package com.mxpio.erp.common.equipment.entity;


import com.mxpioframework.jpa.annotation.Generator;
import com.mxpioframework.security.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description: 维修转单历史
 * @Author: chenqiang
 * @Date:   2021-09-23
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_ERP_REPAIR_TRANSFER_")
@Schema(description="维修转单历史")
public class EquipmentRepairTransfer  extends BaseEntity {

	/**主键*/
	@Id
	@Generator
	@Column(name = "ID_", updatable = false)
	@Schema(description = "主键")
	private String id;
	/**维修工单ID*/
	@Column(name = "REPAIR_ID_")
	@Schema(description = "维修工单ID")
	private String repairId;
	/**转单类型*/
	@Column(name = "TYPE_")
	@Schema(description = "转单类型")
	private String type;
	/**原执行者*/
	@Column(name = "OLD_EXECUTOR_")
	@Schema(description = "原执行者")
	private String oldExecutor;
	/**现执行者*/
	@Column(name = "NEW_EXECUTOR_")
	@Schema(description = "现执行者")
	private String newExecutor;
	/**变更原因*/
	@Column(name = "REASON_")
	@Schema(description = "变更原因")
	private String reason;

}
